﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace HK
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            SpinWait.SpinUntil(() => { return false; }, 10000);
        }
        Helper helper = new Helper();
        private void button1_Click(object sender, EventArgs e)
        {
            string ip = "172.0.6.1";
            int port = 8000;
            string uName = "admin";
            string pwd = "a12345678";
            helper.StartZP(ip,port,uName,pwd, pictureBox1);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            helper.StopZP();
            SqlConnection
        }
    }
}
